/*
 *  Copyright (c) 2024 Cshoo Org. All Rights Reserved.
 *
 *  author:杨翼
 *  date: 2024年4月29日
 *  description:main.js
 */

import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)

let modelData = JSON.parse(document.getElementById('app').getAttribute(":model-data"))
app.provide('modelData', modelData)

app.mount('#app')
